package t4invoke;

import java.util.Scanner;

public class Invoke {
	private Action ac;

	public void sell(Scanner sc) {
		ac = new SellAction();
		ac.sell(sc);
	}

	public void purchase(Scanner sc) {
		ac = new PurchaseAction();
		ac.purchase(sc);
	}

	public void moneyGet(Scanner sc) {
		ac = new MoneyGetAction();
		ac.moneyGet(sc);
	}

	public void showAllSellRecord() {
		ac = new ShowAllSellRecordAction();
		ac.showAllSellRecord();
	}

	public void three() {
		ac = new ThreeAction();
		ac.three();
	}

	public void showFruit() {
		ac = new ShowFruitAction();
		ac.showFruit();
	}
}
